summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-10-21 08:34:05 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-10-22 21:02:04 +0200
commit91c410c91833c3c4a466ab1ff6ca8ba74c0529cf (patch)
treeacadca001e2330c5b70fb0e3ca9ada73abd871d4
parentCMakeLists: Treat -Wall and -Wextra as errors (diff)
downloadyuzu-91c410c91833c3c4a466ab1ff6ca8ba74c0529cf.tar
yuzu-91c410c91833c3c4a466ab1ff6ca8ba74c0529cf.tar.gz
yuzu-91c410c91833c3c4a466ab1ff6ca8ba74c0529cf.tar.bz2
yuzu-91c410c91833c3c4a466ab1ff6ca8ba74c0529cf.tar.lz
yuzu-91c410c91833c3c4a466ab1ff6ca8ba74c0529cf.tar.xz
yuzu-91c410c91833c3c4a466ab1ff6ca8ba74c0529cf.tar.zst
yuzu-91c410c91833c3c4a466ab1ff6ca8ba74c0529cf.zip
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3b4862737..f774c2791 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -110,13 +110,13 @@ else()
-Werror=sign-compare
-Werror=switch
-Werror=uninitialized
- -Werror=unused-function
- -Werror=unused-result
- -Werror=unused-variable
+ -Werror=unused
-Wno-attributes
-Wno-invalid-offsetof
-Wno-unused-parameter
+
+ $<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
)
if (ARCHITECTURE_x86_64)